package com.bing;

import com.bing.animal.Dog;
import com.bing.autoconfig.AnimalImportBeanDefinitionRegistrar;
import com.bing.business.ExcelProcess;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class AppMain {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(AppMain.class, args);
        ExcelProcess process2 = (ExcelProcess) context.getBean("excelProcess");

    }
}
